package com.apusic.service;

import java.util.List;

import com.apusic.dao.UserGroupDao;
import com.apusic.entity.UserGroup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;


/** 
 * @author 陈庆钊
 * @version 2017-11-6 下午4:22:42
 * @Email parkme210@126.com
 */
@Qualifier
@Service("userGroupService")
public class UserGroupService{
	
	@Autowired
	private UserGroupDao userGroupDao;

	public List<UserGroup> selectByObj(UserGroup group) {
		// TODO Auto-generated method stub
		return userGroupDao.selectByObj(group);
	}

	public void saveUserGroup(UserGroup group) {
		userGroupDao.insert(group);
		
	}

}
